<!-- 下载海报 -->
<template>
	<div class=''>
		<el-dialog title="预览二维码" center="" :visible.sync="codeAlert" width="30%" :show-close='true' :before-close="codeClose">
			<div style="text-align: center;"><img src="" alt=""></div>
			<div style="text-align: center;">
				<div>可点击下载海报并进行打印</div>
			</div>
			<span slot="footer" class="dialog-footer">
				<el-button type="primary" @click="download">下载海报</el-button>
			</span>
		</el-dialog>
	</div>
</template>

<script>
	export default {
		props:{
			codeAlert:Boolean
		},
		data () {
			return {

			};
		},
		methods: {
			codeClose(){
				this.$emit('codeClose')
			},
			download(){
			
			}
		},
	}
</script>

<style scoped>
/deep/ .el-dialog__header{
	background:#169bd5!important;
}
/deep/ .el-dialog__header>.el-dialog__title{
	color:#fff!important;
}
/deep/ .el-dialog__header>button{
	color:#fff!important;
}
/deep/ .el-dialog{
	border-radius: 24px;
}
</style>